<?php
/**
 * User: YL
 * Date: 2019/09/19
 */

namespace App\Common\Controllers;

use App\Common\Services\UploadService;

class UploadController extends BaseController
{
    protected static $noNeedLoginMethod = 'store';
    protected static $noNeedCipherMethod = 'store';
    protected static $noNeedVersionMethod = 'store';

    protected function store()
    {
        UploadService::getInstance()->upload($this->request);
    }
}
